package request

import (
	"gitee.com/cjsn/topsdk/ability254/domain"
	"gitee.com/cjsn/topsdk/util"
)

type TmallServicecenterWorkcardCallRecordRequest struct {
	/*
	   请求入参     */
	BusiRequest *domain.TmallServicecenterWorkcardCallRecordUpdateAttributeRequest `json:"busi_request" required:"true" `
}

func (s *TmallServicecenterWorkcardCallRecordRequest) SetBusiRequest(v domain.TmallServicecenterWorkcardCallRecordUpdateAttributeRequest) *TmallServicecenterWorkcardCallRecordRequest {
	s.BusiRequest = &v
	return s
}

func (req *TmallServicecenterWorkcardCallRecordRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.BusiRequest != nil {
		paramMap["busi_request"] = util.ConvertStruct(*req.BusiRequest)
	}
	return paramMap
}

func (req *TmallServicecenterWorkcardCallRecordRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
